@import 'common';
* {
    padding: 0;
    margin: 0;
}
body {
    font-size: 14px;
    font-family: "微软雅黑";
    color: #555;
}
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    list-style: none;
}
a {
    text-decoration: none;
    color: #555;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    line-height: 1.2;
}
#header {
    width: 100%;
    height: 50px;
    padding-top: 5px;
    background-color: #fefefe;
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    box-shadow: 0 3px 5px 0 rgba(0,0,0,0.1),0 1px 0 0 rgba(0,0,0,0.05);
    z-index: 9998;
    .header-inner {
        position: relative;
        color: #505B65;
        margin: 0 auto;
        .logo {
            width: 270px;
            height: 45px;
            position: absolute;
            left: 50%;
            margin-left: -135px;
        }
        .left-part,
        .right-part {
            position: absolute;
            height: 50px;
            line-height: 45px;
            top: 0;
        }
        .left-part {
            left: 40px;
            .Nav {
                float: left;
                margin-right: 10px;
                position: relative;
                .nav-link-icon {
                    height: 31px;
                    margin-top: 7px;
                    width: 46px;
                    border-radius: 3px;
                    background-color: #f8f8f8;
                    position: relative;
                    cursor: pointer;
                    box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
                    .left-part-nav {
                        width: 16px;
                        height: 16px;
                        position: absolute;
                        left: 50%;
                        top: 50%;
                        margin: -8px 0 0 -8px;
                        background: url("../images/icon.png") -180px -195px no-repeat;
                    }
                }
            }
            #searchform {
                float: left;
                position: relative;
                line-height: 24px;
                font-size: 12px;
                .search-type-str {
                    position: absolute;
                    color: #A9A9A9;
                    cursor: pointer;
                    left: 10px;
                    top: 10px;
                    padding-right: 15px;
                    background: url("../images/icon.png") right -322px no-repeat;
                }
                .search-type-str-up {
                    background-position: right -347px;
                }
                input {
                    font-family: inherit;
                    font-size: inherit;
                    font-style: inherit;
                    font-weight: inherit;
                    outline: none;
                    color: #505B65;
                }
                #search_text {
                    border: 1px solid #DDD;
                    background-color: #FAFAFA;
                    margin-top: 7px;
                    line-height: 18px;
                    border-radius: 3px;
                    padding: 5px 28px 5px 58px;
                    float: left;
                    box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
                    transition: all 0.3s;
                }
                #search_bon {
                    position: absolute;
                    background: url("../images/icon.png") -177px -262px no-repeat;
                    display: block;
                    width: 20px;
                    height: 20px;
                    right: 6px;
                    top: 12px;
                    border: 0 none;
                    cursor: pointer;
                }
            }
        }
        .right-part {
            right: 40px;
            color: #A9A9A9;
            font-size: 12px;
            a {
                color: #8f8f8f;
                transition: all 0.4s;
                strong,
                b {
                    font-weight: bold;
                }
                &:hover {
                    color: #333333;
                    text-decoration: none;
                }
            }
            .textline {
                margin: 0 5px;
            }
        }
    }
}
.Container {
    height: 100%;
    #content {
        padding: 20px 0 80px;
        margin: 0 auto;
        position: relative;
        width: 1080px;
        .item {
            width: 270px;
            float: left;
            .item-inner {
                background: #fff;
                margin: 10px;
                position: relative;
                box-shadow: 0 1px 3px rgba(0,0,0,.3);
                border-radius: 3px;
                overflow: hidden;
                .item-main {
                    padding: 10px;
                    h2 {
                        margin-top: 3px;
                        color: #79ac21;
                        font-size: 12px;
                        a {
                            &:hover {
                                text-decoration: none;
                            }
                        }
                    }
                    ul {
                        li {
                            float: left;
                            a {
                                color: #8f8f8f;
                                float: left;
                                margin: 5px 10px 5px 0;
                                padding: 2px 9px;
                                background-color: #f8f8f8;
                                display: block;
                                box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
                                border-radius: 5px;
                                transition: background 0.3s;
                                &:hover {
                                    background-color: #89C228;
                                    color: #fff;
                                    text-decoration: none;
                                }
                            }
                        }
                    }
                    .clear {
                        clear: both;
                        overflow: hidden;
                    }
                    .item-img-box {
                        position: relative;
                        .item-img {
                            max-height: 800px;
                            overflow: hidden;
                            display: block;
                            position: relative;
                            img {
                                box-sizing: border-box;
                                height: auto;
                                max-width: 100%;
                                text-align: center;
                                display: block;
                                margin: 0 auto;
                            }
                            .item-img-stop {
                                background: url("../images/long-img-stop.png") center top repeat-x;
                                width: 250px;
                                height: 20px;
                                display: block;
                                position: absolute;
                                left: 0;
                                top: 781px;
                            }
                        }
                        .itemimg-viewlink {
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            margin: -20px 0 0 -45px;
                            display: none;
                            .itemimg-view {
                                background: url("../images/links.png") left top no-repeat;
                                margin-right: 10px;
                            }
                            .itemimg-links {
                                background: url("../images/links.png") right top no-repeat;
                            }
                            a {
                                width: 40px;
                                height: 40px;
                                display: block;
                                float: left;
                                text-indent: -999px;
                                &:hover {
                                    color: #2a6496;
                                    text-decoration: underline;
                                }
                            }
                        }
                        &:hover .itemimg-viewlink {
                            display: block;
                        }
                    }
                    .item-title {
                        margin-top: 10px;
                        padding: 0 10px;
                        a {
                            color: #505B65;
                        }
                    }
                    .item-actions-info {
                        text-align: right;
                        padding: 0 10px;
                        margin-bottom: 3px;
                        height: 24px;
                        #bdshare {
                            z-index: 999999;
                            padding-bottom: 2px;
                            font-size: 12px;
                            float: left;
                            text-align: left!important;
                            zoom: 1;
                            display: none;
                        }
                        a {
                            display: block;
                            font-family: '宋体',Arial;
                            height: 16px;
                            float: left;
                            cursor: pointer;
                            padding-bottom: 3px;
                            padding-left: 22px;
                            text-decoration: none;
                        }
                        .qzone {
                            background: url("../images/is.png") no-repeat;
                        }
                        .sina {
                            background: url("../images/is.png") no-repeat;
                        }
                        .qq {
                            background: url("../images/is.png") no-repeat;
                        }
                        .renren {
                            background: url("../images/is.png") no-repeat;
                        }
                        .fbook {
                            background: url("../images/is.png") no-repeat;
                        }
                        .twi {
                            background: url("../images/is.png") no-repeat;
                        }
                        .heart-box {
                            background: url("../images/icon.png") -180px -126px no-repeat;
                            padding-left: 17px;
                            float: right;
                        }
                        .item-comment-count {
                            background: url("../images/icon.png") -180px 6px no-repeat;
                            padding-left: 17px;
                            margin-right: 7px;
                            float: right;
                        }
                        .love-loading-box {
                            display: none;
                            .love-loading {
                                display: none;
                                margin-top: 4px;
                                float: right;
                                margin-right: 7px;
                                width: 16px;
                                height: 16px;
                                background: url("../images/love.gif") no-repeat;
                            }
                        }
                        .clear {
                            clear: both;
                            overflow: hidden;
                        }
                    }
                }
            }
            &:hover .item-inner .item-main .item-actions-info #bdshare{
                display: block;
            }
        }
        .masonry-brick {
            transition-property: left, right, top;
        }
    }
}
#footer {
    color: #777;
    background: #fff;
    border-top: 1px solid #d2d2d2;
    height: auto;
    text-align: center;
    width: 100%;
    a {
        color: #777;
        font-size: 12px;
        transition: all 0.4s;
        &:hover {
            color: #333333;
            text-decoration: none;
        }
    }
}
#backtotop {
    a {
        position: fixed; //      bottom: -72px;
        bottom: 0;
        right: 10px;
        width: 71px;
        height: 26px;
        padding-top: 45px;
        background: url("..images/toTop.png") no-repeat left top;
        display: block;
        z-index: 9999;
        text-align: center;
        color: #888;
        transition: bottom 0.3s;
    }
}